﻿using Microsoft.AspNetCore.Mvc;

namespace CommonUtils.Web.Test.apis
{
    [Route("api/[controller]/[action]")]
    public class QrController : ControllerBase
    {
        [HttpPost]
        public IActionResult Decode(string data)
        {
            data = data.Substring("base64,", false);
            return Ok(new { Result = true, Data = data });
        }
    }
}